package com.atguigu.gulimall.item;


import com.atguigu.gmall.common.config.pool.annotation.EnableAppThreadPool;
import com.atguigu.gmall.common.exception.EnableAutoExceptionHandle;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = {
        "com.atguigu.gulimall.feign.product",
        "com.atguigu.gulimall.feign.search",
        "com.atguigu.gulimall.feign.ware"
})
@EnableAppThreadPool
@EnableAutoExceptionHandle
@SpringCloudApplication
//@Import(MallCacheAutoConfiguration.class)
public class ItemMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemMainApplication.class, args);
    }
}
